// CherryMerry ( Mikhail Tomilenko ), Reverse Entertainment, 2021-2024

#pragma once

#include "CoreMinimal.h"
#include "Blueprint/UserWidget.h"
#include "Enemy_HealthInfo.generated.h"

/**
 * 
 */
UCLASS()
class NIFESTGAME_API UEnemy_HealthInfo : public UUserWidget
{
	GENERATED_BODY()
	
protected:
	UPROPERTY(EditAnywhere, Meta = (BindWidget))
	class UTextBlock* TextBlock_CurrentHealth;

	UPROPERTY(EditAnywhere, Meta = (BindWidget))
	class UTextBlock* TextBlock_MaxHealth;

	UPROPERTY(EditAnywhere, Meta = (BindWidget))
	class UProgressBar* ProgressBar_CurrentHealth;

	UPROPERTY(EditAnywhere, Meta = (BindWidget))
	class UTextBlock* TextBlock_CurrentShield;

	UPROPERTY(EditAnywhere, Meta = (BindWidget))
	class UTextBlock* TextBlock_MaxShield;

	UPROPERTY(EditAnywhere, Meta = (BindWidget))
	class UProgressBar* ProgressBar_CurrentShield;

public:

	UFUNCTION(BlueprintCallable)
	virtual void UpdateWidgetInfo(float CurrentHealth, float MaxHealth, float CurrentShield, float MaxShield);
};
